import java.awt.Container;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.util.HashMap;
import javax.swing.DefaultComboBoxModel;
import javax.swing.GroupLayout;
import javax.swing.GroupLayout.Alignment;
import javax.swing.GroupLayout.ParallelGroup;
import javax.swing.GroupLayout.SequentialGroup;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.LayoutStyle.ComponentPlacement;

class AutoTanner$Gui extends JFrame
{
  public HashMap<String, AutoTanner.Hide> hideOptMap = new HashMap();
  public String[] hideOpt = new String[AutoTanner.access$000().length];
  private JButton jButton1;
  private JComboBox jComboBox1;
  private JLabel jLabel1;
  private JLabel jLabel3;

  public AutoTanner$Gui(AutoTanner paramAutoTanner)
  {
    initComponents();
  }

  private void initComponents()
  {
    AutoTanner.access$102(this.this$0, true);
    for (int i = 0; i < AutoTanner.access$000().length; i++) {
      this.hideOpt[i] = AutoTanner.access$000()[i].name;
      this.hideOptMap.put(this.hideOpt[i], AutoTanner.access$000()[i]);
    }
    this.jLabel1 = new JLabel();
    this.jLabel3 = new JLabel();
    this.jButton1 = new JButton();
    this.jComboBox1 = new JComboBox();

    setDefaultCloseOperation(2);

    this.jLabel1.setFont(new Font("Tahoma", 0, 18));
    this.jLabel1.setText("AutoTanner");

    this.jLabel3.setText("Which Hide:");

    this.jButton1.setText("START");
    this.jButton1.addActionListener(new AutoTanner.Gui.1(this));

    this.jComboBox1.setModel(new DefaultComboBoxModel(this.hideOpt));

    GroupLayout localGroupLayout = new GroupLayout(getContentPane());
    getContentPane().setLayout(localGroupLayout);
    localGroupLayout.setHorizontalGroup(localGroupLayout.createParallelGroup(GroupLayout.Alignment.LEADING).addGroup(localGroupLayout.createSequentialGroup().addGroup(localGroupLayout.createParallelGroup(GroupLayout.Alignment.LEADING).addGroup(localGroupLayout.createSequentialGroup().addGap(103, 103, 103).addComponent(this.jLabel1)).addGroup(localGroupLayout.createSequentialGroup().addContainerGap().addComponent(this.jButton1, -1, 275, 32767)).addGroup(localGroupLayout.createSequentialGroup().addContainerGap().addComponent(this.jLabel3).addPreferredGap(LayoutStyle.ComponentPlacement.RELATED).addComponent(this.jComboBox1, -2, 102, -2))).addContainerGap()));

    localGroupLayout.setVerticalGroup(localGroupLayout.createParallelGroup(GroupLayout.Alignment.LEADING).addGroup(localGroupLayout.createSequentialGroup().addContainerGap().addComponent(this.jLabel1).addGap(27, 27, 27).addGroup(localGroupLayout.createParallelGroup(GroupLayout.Alignment.BASELINE).addComponent(this.jLabel3).addComponent(this.jComboBox1, -2, -1, -2)).addGap(37, 37, 37).addComponent(this.jButton1, -2, 59, -2).addContainerGap(-1, 32767)));

    pack();
  }

  private void jButton1ActionPerformed(ActionEvent paramActionEvent)
  {
    setVisible(false);
    AutoTanner.access$302(this.this$0, (AutoTanner.Hide)this.hideOptMap.get(this.jComboBox1.getSelectedItem().toString()));
    AutoTanner.access$102(this.this$0, false);
  }
}